package com.company.project.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;
import javax.persistence.*;

@Table(name = "KR_WOKRDAY_DETAIL")
public class KrWokrdayDetail extends BaseRowModel {
    @Column(name = "HOMELABORLEVELDSC1")
    @ExcelProperty(value = {"公司"},index = 0)
    private Object homelaborleveldsc1;

    @Column(name = "ATTRIBUTE10")
    @ExcelProperty(value = {"事业群"},index = 1)
    private String attribute10;

    @Id
    @Column(name = "PERSONNUM")
    @ExcelProperty(value = {"工号"},index = 2)
    private Object personnum;

    @Column(name = "PERSONFULLNAME")
    @ExcelProperty(value = {"姓名"},index = 3)
    private Object personfullname;

    @Column(name = "HIREDATE")
    @JSONField(format="yyyy-MM-dd")
    @ExcelProperty(value = {"入职日期"},index = 4)
    private Date hiredate;

    @Column(name = "QUITTYPE")
    @ExcelProperty(value = {"类型"},index = 5)
    private Object quittype;

    @Column(name = "HOMELABORLEVELDSC2")
    @ExcelProperty(value = {"部门"},index = 6)
    private Object homelaborleveldsc2;

    @Column(name = "PUNCHDTM")
    @ExcelProperty(value = {"打卡时间"},index = 7)
    private Date punchdtm;

    /**
     * @return HOMELABORLEVELDSC1
     */
    public Object getHomelaborleveldsc1() {
        return homelaborleveldsc1;
    }

    /**
     * @param homelaborleveldsc1
     */
    public void setHomelaborleveldsc1(Object homelaborleveldsc1) {
        this.homelaborleveldsc1 = homelaborleveldsc1;
    }

    /**
     * @return ATTRIBUTE10
     */
    public String getAttribute10() {
        return attribute10;
    }

    /**
     * @param attribute10
     */
    public void setAttribute10(String attribute10) {
        this.attribute10 = attribute10;
    }

    /**
     * @return PERSONNUM
     */
    public Object getPersonnum() {
        return personnum;
    }

    /**
     * @param personnum
     */
    public void setPersonnum(Object personnum) {
        this.personnum = personnum;
    }

    /**
     * @return PERSONFULLNAME
     */
    public Object getPersonfullname() {
        return personfullname;
    }

    /**
     * @param personfullname
     */
    public void setPersonfullname(Object personfullname) {
        this.personfullname = personfullname;
    }

    /**
     * @return HIREDATE
     */
    public Date getHiredate() {
        return hiredate;
    }

    /**
     * @param hiredate
     */
    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    /**
     * @return QUITTYPE
     */
    public Object getQuittype() {
        return quittype;
    }

    /**
     * @param quittype
     */
    public void setQuittype(Object quittype) {
        this.quittype = quittype;
    }

    /**
     * @return HOMELABORLEVELDSC2
     */
    public Object getHomelaborleveldsc2() {
        return homelaborleveldsc2;
    }

    /**
     * @param homelaborleveldsc2
     */
    public void setHomelaborleveldsc2(Object homelaborleveldsc2) {
        this.homelaborleveldsc2 = homelaborleveldsc2;
    }

    /**
     * @return PUNCHDTM
     */
    public Date getPunchdtm() {
        return punchdtm;
    }

    /**
     * @param punchdtm
     */
    public void setPunchdtm(Date punchdtm) {
        this.punchdtm = punchdtm;
    }
}